package com.kxxnzstdsw.exception.can

import com.kxxnzstdsw.exception.CanThrowException
import com.kxxnzstdsw.exception.ExceptionCode

class ValidatorException(msg: String, code: ExceptionCode) : CanThrowException(msg, code) {
  constructor() : this(ExceptionCode.V_000001.tips, ExceptionCode.V_000001)
  constructor(msg: String) : this(msg, ExceptionCode.V_000001)
  constructor(code: ExceptionCode) : this(code.tips, code)
}
